package com.nl.module_main.Junit;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;

import java.util.Arrays;
import java.util.Collection;

@RunWith(Parameterized.class)
public class HelloWorldBatchTest01 {
    private final String name;
    private final String expected;

    public HelloWorldBatchTest01(String name, String expected) {
        this.name = name;
        this.expected = expected;
    }

    @Parameterized.Parameters
    public static Collection<Object[]> initTestData() {
        return Arrays.asList(new Object[][]{
                {"world", "hello:world"},
                {"", "hello:"},
                {null, "hello:null"},
                {"!@#$%^&*()_+", "hello:!@#$%^&*()_+"}
        });
    }

    @Test
    public void testSayHello() {}
}
